package com.chenfan.process.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuming
 * @date 2022/3/3
 */
@Data
public class StartApprovalVO {

    @ApiModelProperty(value = "业务ID", example = "1")
    private Long businessId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "审批流程ID", example = "100")
    private Long approvalId;

    @ApiModelProperty(value = "是否发起成功")
    private boolean success;

    @ApiModelProperty(value = "失败原因")
    private String message;
}
